package com.yociyy.auth.service;

import org.springframework.web.context.request.ServletWebRequest;

import java.io.IOException;
import java.util.Map;

/**
 * 用户认证接口
 * 
 * @author: YoCiyy
 * @date: 2020/7/6
 */
public interface IAuthTokenService {

    Map<String, Object> authenticationByForm(String username, String password, ServletWebRequest webRequest) throws IOException;
}
